//
//  BaseTableControllerModel.m
//  YiCuiMiaoZhang
//
//  Created by Sings on 2019/5/22.
//  Copyright © 2018 益萃网络科技（中国）有限公司. All rights reserved.
//

#import "BaseTableControllerModel.h"

@interface BaseTableControllerModel ()

@property (nonatomic, strong, readwrite) NSMutableArray<BaseTableSectionModel *> *sectionArray;

@property (nonatomic, assign, getter=isHeaderRefresh, readwrite) BOOL headerRefresh;

@property (nonatomic, assign, getter=isFooterRefresh, readwrite) BOOL footerRefresh;

@end

@implementation BaseTableControllerModel

- (NSMutableArray *)sectionArray {
    if (_sectionArray == nil) { _sectionArray = [NSMutableArray array]; }
    return _sectionArray;
}

- (void)oldPath:(NSIndexPath *)path MoveToPath:(NSIndexPath *)newPath {
}

- (void)refreshTableHeaderEnd:(void (^)(void))refreshEnd {
    if (refreshEnd) { refreshEnd(); }
}

- (void)refreshTableFooterEnd:(void (^)(void))refreshEnd {
    if (refreshEnd) { refreshEnd(); }
}

@end
